package org.rea.GUI;

import javax.swing.JFrame;
import javax.swing.JTabbedPane;

public class MainWindow extends JFrame{
	
	private JTabbedPane _tabbedPane;
	
	
	public MainWindow(){
		super();
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setTitle("Main window");
		
		_tabbedPane = new JTabbedPane();
		_tabbedPane.addTab("Libro", new TabPane("LIBRO"));
		_tabbedPane.addTab("Autore", new TabPane("Autore"));
		_tabbedPane.addTab("Libreria", new TabPane("Libreria"));
		
		getContentPane().add(_tabbedPane);
		pack();
	}


	
}
